#ifndef __HAT_H
#define __HAT_H

#include "entity.h"

class Hat : public CEntity
{
private:
	static int hatsCollected;
	bool isCollected;

protected:
	void OnCollision(CObject *collisionObject);
	void OnPrepare();

public:
	Hat() { Load(); }
	Hat(float x, float z) { position.x = x; position.z = z; Load(); }
	~Hat() {}
	void Load();

	// Ian Bell - 12/5/2012
	static int getHatsCollected(); // called by world.cpp to get the number of hats collected
	void setHatsCollected(int hats);
	void incrementHatsCollected(); // called by a hat object to increment the number of hats

	void Hat::OnDraw(CCamera *camera);
};


#endif